/**
 * DiggApiNet - Digg API .NET Wrapper
 * 
 * Author: Sean Hickey
 * Link: http://www.headzoo.com/digg_api_net
 * License: GPL v2 ( http://www.gnu.org/licenses/gpl.txt )
 */
using System;
using System.Collections.Generic;
using System.Text;

namespace DiggApiNet
{
    public class DiggApiException : System.Exception
    {
        private int _code;
        public int Code
        {
            get
            {
                return _code;
            }
            set
            {
                _code = value;
            }
        }

        public DiggApiException(string message) : base(message) { }
        public DiggApiException(string message, int code) : base(message)
        {
            _code = code;
        }
        public DiggApiException(string message, int code, System.Exception ex) : base(message, ex)
        {
            _code = code;
        }
    }
}
